From: Ewan Mellor Date: Thu, 1 Feb 2007 18:14:40 +0000 (+0000) Subject: Return the stored vcpus_params if the domain is not running. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~15358^2~17 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=19b798343207a490d6e61f2c3d5d52ac59c95370;p=xen.git Return the stored vcpus_params if the domain is not running. Signed-off-by: Ewan Mellor --- diff --git a/tools/python/xen/xend/XendDomainInfo.py b/tools/python/xen/xend/XendDomainInfo.py index 35d35ba28a..ddc240b96b 100644 --- a/tools/python/xen/xend/XendDomainInfo.py +++ b/tools/python/xen/xend/XendDomainInfo.py @@ -1978,7 +1978,7 @@ class XendDomainInfo: return 'unknown' def get_vcpus_params(self): if self.getDomid() is None: - return {} + return self.info['vcpus_params'] retval = xc.sched_credit_domain_get(self.getDomid()) return retval